home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Copy+ 2.13 by Gerald R. Brown
- --------------------------------------------------------------
-
- Copy diskettes when formats are different. Copy, move, rename
- or erase specified files in a directory, entire branch or
- disk. Requires DOS 3.2 or later. May be run from Windows.
-
- Copy+' syntax is:
-
- COPYPLUS [/S] [/M] [/P] [/E] [/Y] [/H] [source] [target]
-
- source Specifies the file(s) to copy, move or prune. If
- no file specification is included, all files
- (*.*) will be assumed.
-
- target Specifies the location and/or name of copied
- files. To rename files include a filename.
-
- /S Option to include all subdirectories below
- source. All files in the source directory and
- below which match the source file specification
- will be copied to an identical tree structure,
- beginning with the target directory. If included
- with the Prune (/P) or Move (/M) option, all
- files matching the source file specification
- below the source directory will also be erased.
- If /S is omitted only files in the source
- directory will be copied, moved or pruned. Note:
- If the target is within the source's branch a
- cyclic copy error is detected and no copy is
- performed.
-
- /M Option to move files. All files matching the
- source file specification will be erased after
- they are copied.
-
- /P Option to prune files. All files matching the
- source file specification will be erased. No files
- will be copied. A target specification is ignored.
-
- /E Option to keep empty subdirectories. All empty
- subdirectories are copied and no subdirectories
- are erased. If /E is omitted no empty directories
- are copied and empty directories are deleted.
-
- /Y Option to assume a "Yes" response and suppress
- certain prompts. If /Y is omitted you will be
- warned and offered an opportunity to change disks,
- abort or continue with the current disk before
- formatting or erasing existing data on the target.
- Also, with DOS 6.2, you will be warned and offered
- an opportunity to skip overwriting existing files.
-
- Copy+ 2.13 Page 1 of 5
-
-
-
- /H or /? Display help screen.
-
- If no option is specified files matching the source file
- specification in the source directory will be copied to the
- target directory. Directories below the source will not be
- included. No files will be erased.
-
- Copy+ supports wildcards and is not case-sensitive.
-
- If the drive and root specifiers (d:\) are omitted Copy+
- assumes the path specified is below the current directory.
- If only the root specifier (leading \) is omitted, Copy+
- provides it for you. If you are in C:\DOS and specify a source
- or target of "BIN", Copy+ operates as if "C:\DOS\BIN" were
- specified. If "C:*.BAT" is specified, Copy+ operates as if
- "C:\*.BAT" were specified.
-
- To copy, move or prune an entire disk, specify the drive only
- (d:) as the source. If the target specification is a drive
- only and the target isn't a hard disk or CD-ROM, all files on
- the target will be erased before the copy or move. "COPYPLUS
- A: B:" will erase all files on the target and copy all files
- from A: to B:, even if their formats are different.
- "COPYPLUS A: B:\" will copy all files from A: to B:, leaving
- existing files as they were. Versions of DOS prior to 6.2
- overwrite files of the same name with no warning. With DOS
- 6.2 you will be prompted before overwriting. Also with DOS
- 6.2, hidden and system files are neither copied nor erased.
-
- The target cannot be below the source. Such a specification
- would be a circular reference.
-
- The following DOS utilities must be located in a subdirectory
- in DOS' path environment variable:
-
- XCOPY.EXE Copies directories, branches and files
- FORMAT.COM Formats disk if necessary
- DISKCOPY.COM Duplicates disk in same drive
-
- Copy+ determines the disk space required before executing the
- command. If insufficient space is found, it returns you to
- DOS, displaying the space required and available.
-
- If a general failure occurs, usually caused by an unformatted
- diskette, Copy+ displays the following prompt:
-
- General failure - d:
- Change diskette and press [N] to check it, press [ESC] to
- abort or press any other key to format the current
- diskette.
-
-
-
- Page 2 of 5 Copy+ 2.13
-
-
-
- You may change the disk and check it by pressing [N]. Press
- [ESC] to abort. Press any other key and Copy+ will continue
- with the current disk, displaying the following prompt:
-
- Format to [3]60K, [7]20K, 1.[2]M, 1.[4]4M or [ESC] to abort.
-
- Press the number in brackets for the proper size. DOS' format
- will be invoked. Press [ESC] to abort.
-
- If the target specifier is a drive only (d:) and it has files
- on it, Copy+ displays the following prompt:
-
- Data exists - d:
- Change diskette and press [N] to check it, press [ESC] to
- abort or press any other key to continue with current
- diskette.
-
- You may change the diskette and check it by pressing [N].
- Press [ESC] to abort. Press any other key and Copy+ will
- continue by 'quick' formatting the current diskette.
-
- Copy+ detects write-protected diskettes. The source may be
- write-protected unless you specify the Move (/M) or Prune
- (/P) option. Copy+ also detects a drive with no diskette or
- with the drive door open (Disk not ready). You will be
- prompted and offered an opportunity to correct the error or
- abort and return to DOS if either of these errors occurs. Any
- other error causes Copy+ to display a description and return
- to DOS with an errorlevel for batch file interrogation. Most
- represent DOS' error codes. Others are Copy+ specific.
-
- Copy+ specific errors are:
- 127 Insufficient disk space
- 126 Target specified (no pathname) is a hard disk
- 125 Target specified is on a CD-ROM
- 124 DOS 3.2 or later required
- 123 Bad FAT detected
- 122 Bad syntax
- 121 Too many clusters (maximum 65,536)
- 120 Cyclic copy (copying subdirectories when target is
- within the source
- 117 Format not supported
- 116 Unable to create volume label
-
- DOS' error codes (incomplete) are:
- 36 Unidentified error
- 35 FCB unavailable
- 34 Invalid disk change
- 33 Lock violation
- 32 Sharing violation
- 31 General failure (usually disk not formatted)
- 30 Read fault
-
- Copy+ 2.13 Page 3 of 5
-
-
-
- 29 Write fault
- 28 Printer out of paper
- 27 Sector not found
- 26 Unknown media type
- 25 Seek error
- 24 Bad request structure length
- 23 Data error
- 22 Unknown command
- 21 Drive not ready
- 20 Unknown disk unit
- 19 Disk write-protected
- 18 No more files
- 17 Not same device
- 16 Attempt to move current directory
- 15 Invalid disk drive
- 14 Reserved
- 13 Invalid data
- 12 Invalid access code
- 11 Invalid format
- 10 Invalid environment
- 9 Invalid memory block address
- 8 Insufficient memory
- 7 Memory control blocks destroyed
- 6 Invalid handle
- 5 Access denied
- 4 Too many open files
- 3 Path not found
- 2 File not found
- 1 Invalid function number
- 0 Successful
-
- Revision History:
-
- 2.10 7/8/94
-
- Initial release
-
- 2.12 9/8/94
-
- Fixed problem when pruning, and more than one space
- was included between the options and the pathname.
- The entire default disk was deleted.
-
- Fixed problem when pruning or moving, and a bad
- sector was detected on the target disk. The source
- was deleted anyway.
-
- Fixed problem when pruning and wildcards were
- specified. The wildcards weren't accepted.
-
- Fixed problem when an invalid path was specified. No
- error message was displayed.
-
- Page 4 of 5 Copy+ 2.13
-
-
-
- Fixed problem when a target of one character was
- specified with only one option. An invalid syntax
- error was displayed.
-
- 2.13 7/22/95
-
- Fixed a problem when filename specification was in
- other than the root. The entire subdirectory was
- included.
-
- Fixed a problem when the Subdirectory option was
- specified and the target was a subdirectory of the
- source. A Cyclic Copy occured and DOS returns no
- error code to interpret. If the Prune or Move
- option was specified the source files were erased
- though they were never copied.
-
- Users of Copy+ must accept this disclaimer of warranty:
- "Copy+ is supplied as is. The author disclaims all
- warranties, expressed or implied, including, without
- limitation, the warranties of merchantability and of fitness
- for any purpose. The author assumes no liability for damages,
- direct or consequential, which may result from the use of
- Copy+."
-
- You are encouraged to pass a copy of Copy+ along to your
- friends for evaluation. Anyone distributing Copy+ for any
- kind of remuneration must first contact me for authorization.
- This is shareware. You are offered an opportunity to examine
- this software for 60 days. If you continue to use it after
- the trial period you must fill out the registration form and
- send it with $10.00 (US) to:
-
-
-
- Gerald R. Brown
- 19540 Willsie Drive
- Lake Elsinore, California 92530-6431
- (909)678-3229
- Internet Address: 71023,243@compuserve.com
-
-
-
-
-
-
-
-
-
-
-
- (C) COPYRIGHT 1995 GERALD R. BROWN ALL RIGHTS RESERVED
-
- Copy+ 2.13 Page 5 of 5